package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30);comment:用户名"`
	Password string `gorm:"type:varchar(32);comment:密码"`
}
type Img struct {
	gorm.Model
	Title   string `gorm:"type:varchar(50);comment:标题"`
	Content string `gorm:"type:varchar(500);comment:内容"`
	Picture string `gorm:"type:varchar(500);comment:图片"`
}
